<?php
    $club_img = $this->club_img;
    $disco = $this->disco;
    $this->title = $disco['name'];
    $this->headTitle($this->title);

    $logo_club = $this->logo_club;
    $this->logo_alt = $disco['name'];
    $this->nome_disco = $disco['name'];

    $this->address = $disco['address'];
    $this->cap = $disco['cap'];
    $this->tel = $disco['tel'];
    $this-> mail = $disco['mail'];
    $this->url = $disco['url'];
    $this->paese = $disco['paese'];

    $latitude = $this->latitude;
    $longitude = $this->longitude;
    $this->lat = $latitude;
    $this->long = $longitude;

    $allDisco = $this->allDisco;
    $zonaList = $this->zonaList;
?>
<?php
/**
 *  dispay all disco in  sponsor0
 */
$line = '<div id="box">';
foreach ($allDisco as $key=>$allDisco2){
    $line_new = '<h2><a href="'. $this->url(array('controller'=>'Club',
                                                  'name'=> $allDisco2[0],
                                                   ), 'locale', TRUE) .'">' . $allDisco2[1]
              . '</a></h2>';
    $line = $line . $line_new;
    }
$line = $line . '</div>';
$this->layout()->sponsor0 = $line;

/**
 * dispay all "provincia" in  provincia
 */
$line4 = '';
foreach ($zonaList as $key=>$zonaList2){
    $line4_new = '<h2><a href="'. $this->url(array('controller'=>'Index',
                                                    'action'=>'provincia',
                                                    'id'=> $zonaList2,
                                                   ), 'index', TRUE) .'">' . $zonaList2 . '</a></h2>';
    $line4 = $line4 . $line4_new;
    }
$line4 = $line4 . '';
$this->layout()->provincia = $line4;
?>
<p>
    <?php
        echo html_entity_decode($disco['description']);
    ?>
</p>
<div id="gallery">
<?php
foreach ($club_img as $key=>$club_img2){

        $img_path = $club_img2['img_path'];
        $img_path_thumb = $club_img2['img_thumb'];
        $img_alt = $club_img2['alt'];
        $img_title = $club_img2['title'];
?>
	<!--
        <a href="<?php //echo $this->baseUrl() . $img_path ?>" title="<?php //echo $img_title ?>">
		<img src="<?php //echo $this->baseUrl() . "/" . $img_path_thumb ?>" alt="<?php //echo $img_alt ?>" />
	</a>
        -->
    	<a rel="example_group" href="<?php echo $this->baseUrl() . $img_path ?>" title="<?php echo $img_title ?>">
            <img class="fancy" alt="<?php echo $img_alt ?>" src="<?php echo $this->baseUrl() . "/" . $img_path_thumb ?>" />
        </a>
<!--	<a rel="example_group" href="./example/10_b.jpg" title=""><img alt="" src="./example/10_s.jpg" /></a>
	<a rel="example_group" href="./example/11_b.jpg" title=""><img alt="" src="./example/11_s.jpg" /></a>
	<a rel="example_group" href="./example/12_b.jpg" title=""><img class="last" alt="" src="./example/12_s.jpg" /></a>
-->
<?php }  //end foreach?>
</div>